home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-01
/
addpcx.zip
/
PCX.H
< prev
next >
Wrap
C/C++ Source or Header
|
1988-06-21
|
651b
|
42 lines
/* PCX Header for PCX file gen. routines
Based on ZSOFT technical reference manual
from Shannon at ZSOFT, who asked to see a copy
of this when it's done.
ZSOFT corp.
1950 Spectrum Circle
Suite A-495
Marietta, GA 30067
(404) 428-0008
*/
#include "vgr.h"
typedef struct {
unsigned char red, green, blue;
} TRIPLET;
typedef struct {
char maker,
version,
code,
bpp;
int x1, y1, x2, y2,
hres, vres;
TRIPLET triple[16]; /* palette */
char vmode,
nplanes;
int bpl;
char __unused[128-68];
} PCXHDR;
typedef struct {
PCXHDR hdr;
uchar **rows[4];
} PCXPIC;